<%@page language="java" contentType="text/html; charset=UTF-8" %>
<%@page import="com.yc.comm.Constant"%>
<% 
String strFirstPage = request.getSession().getAttribute(Constant.FIRST_PAGE).toString();

%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>智能资源管理</title>
    </head>
<script>

 var winHeight = screen.height;
 var winWidth = screen.width - 10;

function OpenIdxFile(){
	
	var app=navigator.appName;
	var verStr=navigator.appVersion;
	if(app.indexOf('Netscape') != -1) {
		winHeight = screen.height - 60;
		winWidth = screen.width - 6;
		window.open("<%=strFirstPage%>","_self","height="+ winHeight +"px,width="+winWidth+"px,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no,top=0,Left=0");
		window.open('','_parent','');
		window.close(); 
	}else if(app.indexOf('Microsoft') != -1) {
		window.open("<%=strFirstPage%>","_blank","height="+ winHeight +"px,width="+winWidth+"px,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no,top=0,Left=0");
		window.opener=null; 
		window.close();
	}
}

</script>
<body style="overflow:hidden" onLoad="OpenIdxFile()">
</body>


